package com.gxa.service.impl;

import com.gxa.mapper.ActivityMapper;
import com.gxa.pojo.Activity;
import com.gxa.service.ActivityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author 杨天可
 * @Date 2020/9/21 14:13
 * @Version 1.0
 */
@Service("activityService")
public class ActivityServiceImpl implements ActivityService {

    @Resource
    ActivityMapper activityMapper;


    @Override
    public Activity findById(Integer id) {
        return activityMapper.findById(id);
    }
}
